package com.wind.hallservice;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class BootCompletedReceiver extends BroadcastReceiver {
	private static final String TAG = BootCompletedReceiver.class.getName();

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.d(TAG, "boot complete, start hall service");
		Intent hallServiceIntent = new Intent(context, HallService.class);
		hallServiceIntent.putExtra("bootcomplete", 1);
		context.startService(hallServiceIntent);
	}

}
